#include "connection_factory.h"

CClientConnection* CConnectionFactory::getClientConnection(QString& pHost, quint16& pPort)
{
	return new CClientConnection(pHost, pPort);
}

void CConnectionFactory::destroyClientConnection(CClientConnection*& pClientConnection)
{
	/* FIXME clean up client connection */
	delete pClientConnection;
	pClientConnection = NULL;
}

